home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / Notification.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  1.5 KB  |  60 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        Notification.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__NOTIFICATION__') = 'UNDEFINED' THEN
  18. __NOTIFICATION__ SET 1
  19.  
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24. ;        include 'ConditionalMacros.a'                                ;
  25.  
  26.     IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
  27.     include 'OSUtils.a'
  28.     ENDIF
  29. ;        include 'MixedMode.a'                                        ;
  30. ;        include 'Memory.a'                                            ;
  31. NMRec                     RECORD    0
  32. qLink                     ds.l    1                                    ;next queue entry
  33. qType                     ds.w    1                                    ;queue type -- ORD(nmType) = 8
  34. nmFlags                     ds.w    1                                    ;reserved
  35. nmPrivate                 ds.l    1                                    ;reserved
  36. nmReserved                 ds.w    1                                    ;reserved
  37. nmMark                     ds.w    1                                    ;item to mark in Apple menu
  38. nmIcon                     ds.l    1                                    ;handle to small icon
  39. nmSound                     ds.l    1                                    ;handle to sound record
  40. nmStr                     ds.l    1                                    ;string to appear in alert
  41. nmResp                     ds.l    1                                    ;pointer to response routine
  42. nmRefCon                 ds.l    1                                    ;for application use
  43. sizeof                     EQU    36
  44.                         ENDR
  45.  
  46. ; ------------------ 
  47.     IF GENERATING68K THEN
  48.         _NMInstall:    OPWORD    $A05E
  49.     ELSE
  50.         IMPORT    NMInstall
  51.     ENDIF
  52.  
  53.     IF GENERATING68K THEN
  54.         _NMRemove:    OPWORD    $A05F
  55.     ELSE
  56.         IMPORT    NMRemove
  57.     ENDIF
  58.  
  59.     ENDIF ; __NOTIFICATION__
  60.